# $Id: PKGBUILD 65829 2012-02-22 12:51:53Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>

pkgname=perl-gdtextutil
pkgver=0.86
pkgrel=3
pkgdesc="Classes for string handling with GD"
arch=('any')
url="http://search.cpan.org/dist/GDTextUtil"
license=('GPL' 'PerlArtistic')
depends=('perl-gd>=1')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MV/MVERB/GDTextUtil-$pkgver.tar.gz)
md5sums=('941ad06eadc86b47f3a32da405665c41')

build() {
  cd  $srcdir/GDTextUtil-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
